package com.wn.purchaeReturn.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * Pur_PurchaseBill
 * @author 
 */
public class PurPurchasebill implements Serializable {
    private String purchaseno;

    private String shopid;

    private String placecd;

    private String ticketno;

    private String ticketymd;

    private BigDecimal totalmny;

    private BigDecimal ordermny;

    private String purchaseflg;

    private String supplycd;

    private String secondsplyflg;

    private String descd;

    private String instockflg;

    private String transporttype;

    private BigDecimal transportfee;

    private String transportfeekbn;

    private String currencycd;

    private String orderstatus;

    private String purchaseymd;

    private String instockymd;

    private String planinstcymd;

    private String custconfirmymd;

    private String purchaseman;

    private String instockman;

    private String actionflg;

    private String printflg;

    private String printymd;

    private String printman;

    private String memo;

    private Date updatetime;

    private String updateman;

    private String rtnflg;

    private String rtnymd;

    private BigDecimal rtntotalmny;

    private String productioncd;

    private String custordflg;

    private String syncflg;

    private Date synctime;

    private String subsellflg;

    private static final long serialVersionUID = 1L;

    public String getPurchaseno() {
        return purchaseno;
    }

    public void setPurchaseno(String purchaseno) {
        this.purchaseno = purchaseno;
    }

    public String getShopid() {
        return shopid;
    }

    public void setShopid(String shopid) {
        this.shopid = shopid;
    }

    public String getPlacecd() {
        return placecd;
    }

    public void setPlacecd(String placecd) {
        this.placecd = placecd;
    }

    public String getTicketno() {
        return ticketno;
    }

    public void setTicketno(String ticketno) {
        this.ticketno = ticketno;
    }

    public String getTicketymd() {
        return ticketymd;
    }

    public void setTicketymd(String ticketymd) {
        this.ticketymd = ticketymd;
    }

    public BigDecimal getTotalmny() {
        return totalmny;
    }

    public void setTotalmny(BigDecimal totalmny) {
        this.totalmny = totalmny;
    }

    public BigDecimal getOrdermny() {
        return ordermny;
    }

    public void setOrdermny(BigDecimal ordermny) {
        this.ordermny = ordermny;
    }

    public String getPurchaseflg() {
        return purchaseflg;
    }

    public void setPurchaseflg(String purchaseflg) {
        this.purchaseflg = purchaseflg;
    }

    public String getSupplycd() {
        return supplycd;
    }

    public void setSupplycd(String supplycd) {
        this.supplycd = supplycd;
    }

    public String getSecondsplyflg() {
        return secondsplyflg;
    }

    public void setSecondsplyflg(String secondsplyflg) {
        this.secondsplyflg = secondsplyflg;
    }

    public String getDescd() {
        return descd;
    }

    public void setDescd(String descd) {
        this.descd = descd;
    }

    public String getInstockflg() {
        return instockflg;
    }

    public void setInstockflg(String instockflg) {
        this.instockflg = instockflg;
    }

    public String getTransporttype() {
        return transporttype;
    }

    public void setTransporttype(String transporttype) {
        this.transporttype = transporttype;
    }

    public BigDecimal getTransportfee() {
        return transportfee;
    }

    public void setTransportfee(BigDecimal transportfee) {
        this.transportfee = transportfee;
    }

    public String getTransportfeekbn() {
        return transportfeekbn;
    }

    public void setTransportfeekbn(String transportfeekbn) {
        this.transportfeekbn = transportfeekbn;
    }

    public String getCurrencycd() {
        return currencycd;
    }

    public void setCurrencycd(String currencycd) {
        this.currencycd = currencycd;
    }

    public String getOrderstatus() {
        return orderstatus;
    }

    public void setOrderstatus(String orderstatus) {
        this.orderstatus = orderstatus;
    }

    public String getPurchaseymd() {
        return purchaseymd;
    }

    public void setPurchaseymd(String purchaseymd) {
        this.purchaseymd = purchaseymd;
    }

    public String getInstockymd() {
        return instockymd;
    }

    public void setInstockymd(String instockymd) {
        this.instockymd = instockymd;
    }

    public String getPlaninstcymd() {
        return planinstcymd;
    }

    public void setPlaninstcymd(String planinstcymd) {
        this.planinstcymd = planinstcymd;
    }

    public String getCustconfirmymd() {
        return custconfirmymd;
    }

    public void setCustconfirmymd(String custconfirmymd) {
        this.custconfirmymd = custconfirmymd;
    }

    public String getPurchaseman() {
        return purchaseman;
    }

    public void setPurchaseman(String purchaseman) {
        this.purchaseman = purchaseman;
    }

    public String getInstockman() {
        return instockman;
    }

    public void setInstockman(String instockman) {
        this.instockman = instockman;
    }

    public String getActionflg() {
        return actionflg;
    }

    public void setActionflg(String actionflg) {
        this.actionflg = actionflg;
    }

    public String getPrintflg() {
        return printflg;
    }

    public void setPrintflg(String printflg) {
        this.printflg = printflg;
    }

    public String getPrintymd() {
        return printymd;
    }

    public void setPrintymd(String printymd) {
        this.printymd = printymd;
    }

    public String getPrintman() {
        return printman;
    }

    public void setPrintman(String printman) {
        this.printman = printman;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }

    public String getUpdateman() {
        return updateman;
    }

    public void setUpdateman(String updateman) {
        this.updateman = updateman;
    }

    public String getRtnflg() {
        return rtnflg;
    }

    public void setRtnflg(String rtnflg) {
        this.rtnflg = rtnflg;
    }

    public String getRtnymd() {
        return rtnymd;
    }

    public void setRtnymd(String rtnymd) {
        this.rtnymd = rtnymd;
    }

    public BigDecimal getRtntotalmny() {
        return rtntotalmny;
    }

    public void setRtntotalmny(BigDecimal rtntotalmny) {
        this.rtntotalmny = rtntotalmny;
    }

    public String getProductioncd() {
        return productioncd;
    }

    public void setProductioncd(String productioncd) {
        this.productioncd = productioncd;
    }

    public String getCustordflg() {
        return custordflg;
    }

    public void setCustordflg(String custordflg) {
        this.custordflg = custordflg;
    }

    public String getSyncflg() {
        return syncflg;
    }

    public void setSyncflg(String syncflg) {
        this.syncflg = syncflg;
    }

    public Date getSynctime() {
        return synctime;
    }

    public void setSynctime(Date synctime) {
        this.synctime = synctime;
    }

    public String getSubsellflg() {
        return subsellflg;
    }

    public void setSubsellflg(String subsellflg) {
        this.subsellflg = subsellflg;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        PurPurchasebill other = (PurPurchasebill) that;
        return (this.getPurchaseno() == null ? other.getPurchaseno() == null : this.getPurchaseno().equals(other.getPurchaseno()))
            && (this.getShopid() == null ? other.getShopid() == null : this.getShopid().equals(other.getShopid()))
            && (this.getPlacecd() == null ? other.getPlacecd() == null : this.getPlacecd().equals(other.getPlacecd()))
            && (this.getTicketno() == null ? other.getTicketno() == null : this.getTicketno().equals(other.getTicketno()))
            && (this.getTicketymd() == null ? other.getTicketymd() == null : this.getTicketymd().equals(other.getTicketymd()))
            && (this.getTotalmny() == null ? other.getTotalmny() == null : this.getTotalmny().equals(other.getTotalmny()))
            && (this.getOrdermny() == null ? other.getOrdermny() == null : this.getOrdermny().equals(other.getOrdermny()))
            && (this.getPurchaseflg() == null ? other.getPurchaseflg() == null : this.getPurchaseflg().equals(other.getPurchaseflg()))
            && (this.getSupplycd() == null ? other.getSupplycd() == null : this.getSupplycd().equals(other.getSupplycd()))
            && (this.getSecondsplyflg() == null ? other.getSecondsplyflg() == null : this.getSecondsplyflg().equals(other.getSecondsplyflg()))
            && (this.getDescd() == null ? other.getDescd() == null : this.getDescd().equals(other.getDescd()))
            && (this.getInstockflg() == null ? other.getInstockflg() == null : this.getInstockflg().equals(other.getInstockflg()))
            && (this.getTransporttype() == null ? other.getTransporttype() == null : this.getTransporttype().equals(other.getTransporttype()))
            && (this.getTransportfee() == null ? other.getTransportfee() == null : this.getTransportfee().equals(other.getTransportfee()))
            && (this.getTransportfeekbn() == null ? other.getTransportfeekbn() == null : this.getTransportfeekbn().equals(other.getTransportfeekbn()))
            && (this.getCurrencycd() == null ? other.getCurrencycd() == null : this.getCurrencycd().equals(other.getCurrencycd()))
            && (this.getOrderstatus() == null ? other.getOrderstatus() == null : this.getOrderstatus().equals(other.getOrderstatus()))
            && (this.getPurchaseymd() == null ? other.getPurchaseymd() == null : this.getPurchaseymd().equals(other.getPurchaseymd()))
            && (this.getInstockymd() == null ? other.getInstockymd() == null : this.getInstockymd().equals(other.getInstockymd()))
            && (this.getPlaninstcymd() == null ? other.getPlaninstcymd() == null : this.getPlaninstcymd().equals(other.getPlaninstcymd()))
            && (this.getCustconfirmymd() == null ? other.getCustconfirmymd() == null : this.getCustconfirmymd().equals(other.getCustconfirmymd()))
            && (this.getPurchaseman() == null ? other.getPurchaseman() == null : this.getPurchaseman().equals(other.getPurchaseman()))
            && (this.getInstockman() == null ? other.getInstockman() == null : this.getInstockman().equals(other.getInstockman()))
            && (this.getActionflg() == null ? other.getActionflg() == null : this.getActionflg().equals(other.getActionflg()))
            && (this.getPrintflg() == null ? other.getPrintflg() == null : this.getPrintflg().equals(other.getPrintflg()))
            && (this.getPrintymd() == null ? other.getPrintymd() == null : this.getPrintymd().equals(other.getPrintymd()))
            && (this.getPrintman() == null ? other.getPrintman() == null : this.getPrintman().equals(other.getPrintman()))
            && (this.getMemo() == null ? other.getMemo() == null : this.getMemo().equals(other.getMemo()))
            && (this.getUpdatetime() == null ? other.getUpdatetime() == null : this.getUpdatetime().equals(other.getUpdatetime()))
            && (this.getUpdateman() == null ? other.getUpdateman() == null : this.getUpdateman().equals(other.getUpdateman()))
            && (this.getRtnflg() == null ? other.getRtnflg() == null : this.getRtnflg().equals(other.getRtnflg()))
            && (this.getRtnymd() == null ? other.getRtnymd() == null : this.getRtnymd().equals(other.getRtnymd()))
            && (this.getRtntotalmny() == null ? other.getRtntotalmny() == null : this.getRtntotalmny().equals(other.getRtntotalmny()))
            && (this.getProductioncd() == null ? other.getProductioncd() == null : this.getProductioncd().equals(other.getProductioncd()))
            && (this.getCustordflg() == null ? other.getCustordflg() == null : this.getCustordflg().equals(other.getCustordflg()))
            && (this.getSyncflg() == null ? other.getSyncflg() == null : this.getSyncflg().equals(other.getSyncflg()))
            && (this.getSynctime() == null ? other.getSynctime() == null : this.getSynctime().equals(other.getSynctime()))
            && (this.getSubsellflg() == null ? other.getSubsellflg() == null : this.getSubsellflg().equals(other.getSubsellflg()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getPurchaseno() == null) ? 0 : getPurchaseno().hashCode());
        result = prime * result + ((getShopid() == null) ? 0 : getShopid().hashCode());
        result = prime * result + ((getPlacecd() == null) ? 0 : getPlacecd().hashCode());
        result = prime * result + ((getTicketno() == null) ? 0 : getTicketno().hashCode());
        result = prime * result + ((getTicketymd() == null) ? 0 : getTicketymd().hashCode());
        result = prime * result + ((getTotalmny() == null) ? 0 : getTotalmny().hashCode());
        result = prime * result + ((getOrdermny() == null) ? 0 : getOrdermny().hashCode());
        result = prime * result + ((getPurchaseflg() == null) ? 0 : getPurchaseflg().hashCode());
        result = prime * result + ((getSupplycd() == null) ? 0 : getSupplycd().hashCode());
        result = prime * result + ((getSecondsplyflg() == null) ? 0 : getSecondsplyflg().hashCode());
        result = prime * result + ((getDescd() == null) ? 0 : getDescd().hashCode());
        result = prime * result + ((getInstockflg() == null) ? 0 : getInstockflg().hashCode());
        result = prime * result + ((getTransporttype() == null) ? 0 : getTransporttype().hashCode());
        result = prime * result + ((getTransportfee() == null) ? 0 : getTransportfee().hashCode());
        result = prime * result + ((getTransportfeekbn() == null) ? 0 : getTransportfeekbn().hashCode());
        result = prime * result + ((getCurrencycd() == null) ? 0 : getCurrencycd().hashCode());
        result = prime * result + ((getOrderstatus() == null) ? 0 : getOrderstatus().hashCode());
        result = prime * result + ((getPurchaseymd() == null) ? 0 : getPurchaseymd().hashCode());
        result = prime * result + ((getInstockymd() == null) ? 0 : getInstockymd().hashCode());
        result = prime * result + ((getPlaninstcymd() == null) ? 0 : getPlaninstcymd().hashCode());
        result = prime * result + ((getCustconfirmymd() == null) ? 0 : getCustconfirmymd().hashCode());
        result = prime * result + ((getPurchaseman() == null) ? 0 : getPurchaseman().hashCode());
        result = prime * result + ((getInstockman() == null) ? 0 : getInstockman().hashCode());
        result = prime * result + ((getActionflg() == null) ? 0 : getActionflg().hashCode());
        result = prime * result + ((getPrintflg() == null) ? 0 : getPrintflg().hashCode());
        result = prime * result + ((getPrintymd() == null) ? 0 : getPrintymd().hashCode());
        result = prime * result + ((getPrintman() == null) ? 0 : getPrintman().hashCode());
        result = prime * result + ((getMemo() == null) ? 0 : getMemo().hashCode());
        result = prime * result + ((getUpdatetime() == null) ? 0 : getUpdatetime().hashCode());
        result = prime * result + ((getUpdateman() == null) ? 0 : getUpdateman().hashCode());
        result = prime * result + ((getRtnflg() == null) ? 0 : getRtnflg().hashCode());
        result = prime * result + ((getRtnymd() == null) ? 0 : getRtnymd().hashCode());
        result = prime * result + ((getRtntotalmny() == null) ? 0 : getRtntotalmny().hashCode());
        result = prime * result + ((getProductioncd() == null) ? 0 : getProductioncd().hashCode());
        result = prime * result + ((getCustordflg() == null) ? 0 : getCustordflg().hashCode());
        result = prime * result + ((getSyncflg() == null) ? 0 : getSyncflg().hashCode());
        result = prime * result + ((getSynctime() == null) ? 0 : getSynctime().hashCode());
        result = prime * result + ((getSubsellflg() == null) ? 0 : getSubsellflg().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", purchaseno=").append(purchaseno);
        sb.append(", shopid=").append(shopid);
        sb.append(", placecd=").append(placecd);
        sb.append(", ticketno=").append(ticketno);
        sb.append(", ticketymd=").append(ticketymd);
        sb.append(", totalmny=").append(totalmny);
        sb.append(", ordermny=").append(ordermny);
        sb.append(", purchaseflg=").append(purchaseflg);
        sb.append(", supplycd=").append(supplycd);
        sb.append(", secondsplyflg=").append(secondsplyflg);
        sb.append(", descd=").append(descd);
        sb.append(", instockflg=").append(instockflg);
        sb.append(", transporttype=").append(transporttype);
        sb.append(", transportfee=").append(transportfee);
        sb.append(", transportfeekbn=").append(transportfeekbn);
        sb.append(", currencycd=").append(currencycd);
        sb.append(", orderstatus=").append(orderstatus);
        sb.append(", purchaseymd=").append(purchaseymd);
        sb.append(", instockymd=").append(instockymd);
        sb.append(", planinstcymd=").append(planinstcymd);
        sb.append(", custconfirmymd=").append(custconfirmymd);
        sb.append(", purchaseman=").append(purchaseman);
        sb.append(", instockman=").append(instockman);
        sb.append(", actionflg=").append(actionflg);
        sb.append(", printflg=").append(printflg);
        sb.append(", printymd=").append(printymd);
        sb.append(", printman=").append(printman);
        sb.append(", memo=").append(memo);
        sb.append(", updatetime=").append(updatetime);
        sb.append(", updateman=").append(updateman);
        sb.append(", rtnflg=").append(rtnflg);
        sb.append(", rtnymd=").append(rtnymd);
        sb.append(", rtntotalmny=").append(rtntotalmny);
        sb.append(", productioncd=").append(productioncd);
        sb.append(", custordflg=").append(custordflg);
        sb.append(", syncflg=").append(syncflg);
        sb.append(", synctime=").append(synctime);
        sb.append(", subsellflg=").append(subsellflg);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}